#ifndef __SBOARD_COMMON_H__
#define __SBOARD_COMMON_H__

#define LEDOFF 	                    ('0')     /* 关灯 */
#define LEDON 	                    ('1')     /* 开灯 */

typedef struct __LED_OPERATIONS_ {
	int (*init) (int which);             /* 初始化LED, which-哪个LED */       
	int (*ctl) (int which, char status); /* 控制LED, which-哪个LED, status:1-亮,0-灭 */
	int (*uninit) (int which);            /* 去初始化LED, which-哪个LED*/
}LED_OPERATIONS;

LED_OPERATIONS *get_board_led_opt(void);

#endif /* __SBOARD_COMMON_H__ */
 